package com.example.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    @RequestMapping("/index")
    public String index() {
        return "index";
    }

    @RequestMapping("/add")
    public String add() {
        return "add";
    }


    @RequestMapping("/403")
    public String a403(){
        return "403";
    }

    @RequestMapping("/404")
    public String page404(){
        return "403";
    }

    @RequestMapping("/500")
    public String a500(){
        return "500";
    }
}
